package com.ltu.service.impl;

import com.ltu.service.MenuService;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ltu.domain.mp_entity.Menu;
import com.ltu.mapper.MenuMapper;
import com.ltu.model.request.base.BaseIdReq;
import com.ltu.model.response.base.CodeDataResp;
import com.ltu.model.request.base.PageReqData;

/**
 * <p>
 * 菜单表 服务实现类
 * </p>
 *
 * @author ruochen@cxmx123
 * @since 2021-10-08
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {

    /**
     * 获取记录列表
     * @param pageReq
     * @return
     */
    public CodeDataResp getList(PageReqData pageReq) {
        ///todo ...
        return CodeDataResp.valueOfSuccessEmptyData();
    }

    /**
     * 保存或更新
     * @param req
     * @return
     */
    public CodeDataResp saveOrUpdate(BaseIdReq req) {
        ///todo ...
        return CodeDataResp.valueOfSuccessEmptyData();
    }

    /**
     * 获取记录详情
     * @param req
     * @return
     */
    public CodeDataResp getDetail(BaseIdReq req) {
        ///todo ...
        return CodeDataResp.valueOfSuccessEmptyData();
    }

    /**
     * 删除记录
     * @param req
     * @return
     */
    public CodeDataResp remove(BaseIdReq req) {
        ///todo ...
        return CodeDataResp.valueOfSuccessEmptyData();
    }
}
